import valkey
from valkey import ConnectionPool

# 连接池配置
pool = ConnectionPool(
    host='127.0.0.1',
    port=6379,
    db=0
)
client = valkey.Valkey(connection_pool=pool)
